package com.lei.test.bill;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class TEST20170620 extends JFrame{

	private static final long serialVersionUID = 1L;
	private FlowLayout glt;
	private JButton jlb,panel,jlbleft,jlbright;

	public static void main(String[] args) {
		new TEST20170620();
	}
	
	public TEST20170620() {
		glt = new FlowLayout(FlowLayout.LEFT,0,0);
		this.setVisible(true);
		this.setPreferredSize(new Dimension(1200, 800));
		this.setMinimumSize(new Dimension(1200, 800));
		this.setLayout(glt);
		
		jlb = new JButton();
		jlb.setBackground(Color.black);
		//jlb.setSize(new Dimension(200, 200));
		jlb.setPreferredSize(new Dimension(200, 50));
		panel = new JButton();
		panel.setBackground(Color.gray);
		panel.setPreferredSize(new Dimension(980, 50));
		//panel.setSize(new Dimension(1000, 200));
		jlbleft = new JButton();
		jlbleft.setBackground(Color.gray);
		jlbleft.setPreferredSize(new Dimension(200, 25));
		
		
		
		this.setBackground(new Color(179,241,198));
		this.add(jlb);this.add(panel);
		this.add(jlbleft);
	}
	
	
}
